<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <title>主页一</title>
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    <link rel="stylesheet" href="__MANAGE__lib/layui-v2.6.3/css/layui.css" media="all">
    <link rel="stylesheet" href="__MANAGE__lib/font-awesome-4.7.0/css/font-awesome.min.css" media="all">
    <link rel="stylesheet" href="__MANAGE__css/public.css" media="all">
</head>
<style>
    .layui-top-box {padding:40px 20px 20px 20px;color:#fff}
    .panel {margin-bottom:17px;background-color:#fff;border:1px solid transparent;border-radius:3px;-webkit-box-shadow:0 1px 1px rgba(0,0,0,.05);box-shadow:0 1px 1px rgba(0,0,0,.05)}
    .panel-body {padding:15px}
    .panel-title {margin-top:0;margin-bottom:0;font-size:14px;color:inherit}
    .label {display:inline;padding:.2em .6em .3em;font-size:75%;font-weight:700;line-height:1;color:#fff;text-align:center;white-space:nowrap;vertical-align:baseline;border-radius:.25em;margin-top: .3em;}
    .layui-red {color:red}
    .main_btn > p {height:40px;}
</style>
<body>
<div class="layuimini-container">
    <div class="layuimini-main layui-top-box">
        <div class="layui-row layui-col-space10">

            <div class="layui-col-md3">
                <div class="col-xs-6 col-md-3">
                    <div class="panel layui-bg-cyan">
                        <div class="panel-body">
                            <div class="panel-title">
                                <h5>管理员统计</h5>
                            </div>
                            <div class="panel-content">
                                <h1 class="no-margins">{$admin_zong}</h1>
                                <small>当前功能少没有那么多数据</small>
                            </div>
                        </div>
                    </div>
                </div>
            </div>

            <div class="layui-col-md3">
                <div class="col-xs-6 col-md-3">
                    <div class="panel layui-bg-blue">
                        <div class="panel-body">
                            <div class="panel-title">
                                <h5>登陆日志</h5>
                            </div>
                            <div class="panel-content">
                                <h1 class="no-margins">{$l_zong}</h1>
                                <small>当前功能少没有那么多数据</small>
                            </div>
                        </div>
                    </div>
                </div>
            </div>

            <div class="layui-col-md3">
                <div class="col-xs-6 col-md-3">
                    <div class="panel layui-bg-green">
                        <div class="panel-body">
                            <div class="panel-title">
                                <h5>文章统计</h5>
                            </div>
                            <div class="panel-content">
                                <h1 class="no-margins">{$a_zong}</h1>
                                <small>当前功能少没有那么多数据</small>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
            <div class="layui-col-md3">
                <div class="col-xs-6 col-md-3">
                    <div class="panel layui-bg-orange">
                        <div class="panel-body">
                            <div class="panel-title">
                                <h5>栏目统计</h5>
                            </div>
                            <div class="panel-content">
                                <h1 class="no-margins">{$c_zong}</h1>
                                <small>当前功能少没有那么多数据</small>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>

    <div class="layui-box">
        <div class="layui-row layui-col-space10">
            <div class="layui-col-md12">
                <blockquote class="layui-elem-quote main_btn">
                    <div style="margin: 5px 5px 25px 5px;font-size: large;line-height: 1.8">
                        一直使用thinkphp，感觉他的性能不是很好。尝试使用webman，用了几天，写一个后台。感觉webman还有很大的进步空间，主要集中在调试，抱错不是很完善，太麻烦。由于时间有限，难免有bug，大家举一三反就行。我提供一个学习的思路！还请大家关注我开源项目和我博客，多多点赞支持一下。gitee：<a class="red" target="_blank" href="https://gitee.com/lizhiliwo">https://gitee.com/lizhiliwo </a>。CSDN：<a class="red" target="_blank" href="https://blog.csdn.net/weixin_42249565">https://blog.csdn.net/weixin_42249565</a>。谢谢大家支持
                    </div>
                    <p class="red">注：扫描二维码，可以添加解决疑问专家的QQ/微信，添加好友时请您写明疑问，以便解决您的问题</p>
                    <div class="fen">
                        <span>疑问QQ群：99078439</span>
                        <a href="mailto:lizhilimaster@163.com">发送邮件：lizhilimaster@163.com</a> <a class="red" target="_blank" href="https://gitee.com/lizhiliwo">我的gitee：找到我的开源项目 </a>
                       <a target="_blank" href="//shang.qq.com/wpa/qunwpa?idkey=d0eb332edc6d7702e82852e29fd39e065ee75aa4f828adc992b931b9817f2254"><img
                                border="0" src="//pub.idqqimg.com/wpa/images/group.png" alt="河北网站技术交流" title="河北网站技术交流"></a>
                        <img style="CURSOR: pointer" onclick="javascript:window.open('tencent://message/?uin=821642832&Site=www.linglukeji.com&Menu=yes', '_blank', 'height=502, width=644,toolbar=no,scrollbars=no,menubar=no,status=no');"
                             border="0" SRC=http://wpa.qq.com/pa?p=1:821642832:1 alt="点击这里给我发消息">
                    </div>
                    <div class="frame-img"> <img src="/static/manage/qqimg.jpg" width="130"><img src="/static/manage/weixinimg.jpg"
                                                                                                 width="130"><img src="/static/manage/qqqun.jpg" width="130"></div>


                </blockquote>
                <style>
                    .frame-img img{
                        margin: 10px;
                    }
                    .red{
                        color: red;
                    }
                </style>
            </div>
        </div>
    </div>

    <div class="layui-box">
        <div class="layui-row layui-col-space10">
            <div class="layui-col-md6">
                <table class="layui-table">
                    <colgroup>
                        <col width="150">
                        <col width="200">
                        当前服务器信息
                        <col>
                    </colgroup>
                    <thead>
                    <tr>
                        <th>名称</th>
                        <th>值</th>
                    </tr>
                    </thead>
                    <tbody>
                    {volist name="info" id="vo"}
                    <tr>
                        <td>{$key}</td>
                        <td>{$vo}</td>
                    </tr>
                    {/volist}

                    </tbody>
                </table>
            </div>
            <div class="layui-col-md6">
                <table class="layui-table">
                    <colgroup>
                        <col width="150">
                        <col width="200">
                        <h4>登陆记录</h4>
                        <col>
                    </colgroup>
                    <thead>
                    <tr>
                        <th>用户名</th>
                        <th>登陆时间</th>
                        <th>是否成功</th>
                    </tr>
                    </thead>
                    <tbody>
                    {volist name="log" id="vo"}
                    <tr>
                        <td>{$vo.username}</td>
                        <td>{$vo.create_time|date='Y-m-d H:i:s'}</td>
                        <td>{$vo.is_cheng ? '成功' : '失败'}</td>
                    </tr>
                    {/volist}
                    </tbody>
                </table>
            </div>
        </div>
    </div>
</div>
<script src="__MANAGE__lib/layui-v2.6.3/layui.js" charset="utf-8"></script>
</body>
</html>